/**
 * Free software.
 */

package org.nanhill.moo.domain;

import java.util.Date;

/**
 * @author alin [xalinx at gmail dot com]
 * @date 2006-11-13
 */
public class Comment {

	private long id;

	private User author;

	private Favor favor;

	private String content;

	private Date createTime;

	private int status;

	protected int getStatus() {
		return status;
	}

	protected void setStatus(int status) {
		this.status = status;
	}

	protected Favor getFavor() {
		return favor;
	}

	protected void setFavor(Favor favor) {
		this.favor = favor;
	}

	protected String getContent() {
		return content;
	}

	protected void setContent(String content) {
		this.content = content;
	}

	protected Date getCreateTime() {
		return createTime;
	}

	protected void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	protected long getId() {
		return id;
	}

	protected void setId(long id) {
		this.id = id;
	}

	protected User getAuthor() {
		return author;
	}

	protected void setAuthor(User user) {
		this.author = user;
	}

}
